/*****************************************************************************************/
/*   This sytlesheet file defines style rules for chatter FilesTab and FileDetail pages. */
/*****************************************************************************************/

/**************************************************/
/* Two Column Layout for FilesTab page            */
/**************************************************/
.chatterFilesTabPage {
    width: 965px;
    position: relative;
}

.chatterFilesTabPage .leftContent {
    float: left;
    width: 200px;
}

.chatterFilesTabPage .rightContent {
    margin-left: 200px;
}

/**************************************************/
/* Files tab page title icon                      */
/**************************************************/
.chatterFilesTabPage .chatterFilesTabPageHeader {
     margin: 7px 5px 0 5px;
}

.chatterFilesTabPage .browseLabel {
    background: transparent url(/img/icon/files16.png) no-repeat left top;
    padding-left: 21px;
    font-weight: normal;
}

.chatterFilesTabPageHeader .btn {
    margin-top: 5px;
    margin-left: 17px;
}

.rightContent .browseLabelPanel{
    padding-left: 3px;
    margin-top: 6px;
}

.rightContent .browseLabelPanel .browseLabel{
    font-size: 1.2em;
    font-weight: bold;
    color: #222;
}

.rightContent .browseLabelPanel .browseDesc{
    color: #222;
    padding-left: 10px;
}

.rightContent .browseLabelPanel .browseDesc .browseLink{
    color:#015BA7;
    font-size:1em;
    font-weight:normal;
    text-decoration: none;
}

.chatterFilesTabPageHeader .pageHelpIconPanel {
    margin-right: 5px;
	position:	absolute;
	right: 0;
	top: 0;
}
.chatterFilesTabPageHeader .chatterBreadcrumbs {
	line-height:	0;
	text-decoration: none;
}
/**************************************************/
/* Files tab page action link & menu              */
/**************************************************/
.chatterFilesTabPageActionLink {
    text-decoration: none;
    color: #015ba7;
    display: inline;
}

.chatterFilesTabPageActionLink .chatterFilesTabPageActionLinkLabel,
.chatterFilesTabPageActionLink .chatterFilesTabPageActionLinkLabelOver,
.chatterFilesTabPageActionMenu .x-menu-item-icon,
.chatterFilesTabPageUploadPanel .uploadFileMsgIcon,
.chatterFilesTabPageUploadPanel .uploadNewVersionMsg,
.thumbnailPanel .sharingStatusIcon img,
.sharedWithStatusBadge .sharingStatusIcon img {
    background: transparent url(/img/chatterfiles/chatterfiles16_sprite.png) no-repeat;
}

.chatterFilesTabPageActionLink .chatterFilesTabPageActionLinkLabel,
.chatterFilesTabPageActionLink .chatterFilesTabPageActionLinkLabelOver {
    display: inline-block;
    vertical-align: middle;
    background-position: 45px -164px;
    border: 1px solid transparent;
    padding: 3px 17px 2px 5px;
}

.chatterFilesTabPageActionLink .chatterFilesTabPageActionLinkLabelOver {
    background-color: #C6E1FF;
    background-position: 45px -182px;
    border: 1px solid #99CCFF;
    cursor: pointer;
}

.chatterFilesTabPageActionMenu .x-menu-list-item {
    border : solid 1px transparent;
}

.chatterFilesTabPageActionMenu .x-menu-item-active {
    background-color : #E3F3FF;
    border : solid 1px #D4DADC;
    color : #015BA7;
    text-decoration : none;
}

.chatterFilesTabPageActionMenu .viewItemIcon {
    background-position: 0 -2px;
}

.chatterFilesTabPageActionMenu .downloadItemIcon {
    background-position: 0  -20px;
}

.chatterFilesTabPageActionMenu .shareFileWithItemIcon {
    background-position: 0 -56px;
}

.chatterFilesTabPageActionMenu .updateVersionItemIcon {
    background-position: 0 -38px;
}

.chatterFilesTabPageActionMenu .editItemIcon {
    background-position: 0 -146px;
}

.chatterFilesTabPageActionMenu .deleteItemIcon {
    background-position: 0 -74px;
}

.chatterFilesTabPageActionMenu .orgItemIcon {
    background-position: 0 -92px;
}

.chatterFilesTabPageActionMenu .groupItemIcon {
    background-position: 0 -110px;
}

.chatterFilesTabPageActionMenu .recordItemIcon {
    background-position: 0 -128px;
}

.chatterFilesTabPageActionMenu .currentlyItemIcon {
    background-position: 0 -500px;
}

/**************************************************/
/* File browse panel                              */
/**************************************************/
.chatterFileBrowsePanel {
    font-size: 1.0em;
    width: 100%;
    margin-top: 2px;
    margin-left: -9px;
}

.chatterFileBrowsePanel ul {
    list-style: none;
    margin-bottom: 5px;
}

.chatterFileBrowsePanel .liItem {
    margin-top: -1px;
    margin-right: 0;
    margin-bottom: -2px;
    margin-left: 10px;
}

.chatterFileBrowsePanel .liItem a:hover,
.rightContent .browseLabelPanel .browseDesc a.browseLink:hover {
    text-decoration: underline;
}

.chatterFileBrowsePanel .liItem a.selectedLinkItem:hover,
.chatterFileBrowsePanel .liItem a.selectedSubLinkItem:hover{
    text-decoration: none;
    color: #333435;
    cursor: default;
}

.chatterFileBrowsePanel .liItem .groupAndWorkspaceTitle {
    color: #7D7D84;
}

.chatterFileBrowsePanel .linkItem,
.chatterFileBrowsePanel .selectedLinkItem,
.chatterFileBrowsePanel .subLinkItem,
.chatterFileBrowsePanel .selectedSubLinkItem {
    text-decoration: none;
    padding-top: 6px;
    padding-right: 10px;
    padding-bottom: 4px;
    padding-left: 10px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #222;
}
.chatterFileBrowsePanel .fileBrowseSubHeader {
	color: #7d7d84;
}
.chatterFileBrowsePanel .fileBrowseSubHeader.selectedLinkItem {
	color: #222;
}

.chatterFileBrowsePanel .subHeaderSpacer {
    margin-top: 16px;
}

.chatterFileBrowsePanel a.linkItem:hover,
.chatterFileBrowsePanel a.subLinkItem:hover {
    color: #015ba7;
}

.chatterFileBrowsePanel .selectedLinkItem,
.chatterFileBrowsePanel .selectedSubLinkItem,
.chatterFileBrowsePanel .autoUl .selectedSubLinkItem {
    background: transparent url(/img/chatterfiles/selected-arrow.png) no-repeat scroll;
    font-weight: bold;
    outline: none;
    outline-style: none;
    -moz-outline-style: none;
}

.chatterFileBrowsePanel .selectedLinkItem {
    background-position: 2px 0;
}

.chatterFileBrowsePanel .selectedSubLinkItem {
    background-position: 2px -32px;
}

.chatterFileBrowsePanel .spanItem {
    padding-top: 12px;
    padding-left: 10px;
    font-weight: bold;
    display: block;
}

.chatterFileBrowsePanel .emptyGroupSpan {
    padding-top: 7px;
    padding-left: 10px;
    font-weight: normal;
    display: block;
    margin-left: 10px;
    color: #7D7D84;
    font-size: 1em;
}

.chatterFileBrowsePanel .selectedSubLinkItem .hyperlinkTextSpan{
    display:block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chatterFileBrowsePanel .autoUl {
    overflow-y: auto;
    padding-top: 2px;
    padding-right: 2px;
}

.chatterFileBrowsePanel .autoDiv {
    overflow-y: auto;
    padding-right: 5px;
    height: 404px;
}

.chatterFileBrowsePanel .autoDivWithMyFilesFilter {
    height: 364px;
}

.chatterFileBrowsePanel .autoUlHeightWithContent {
     height: 214px;
}

.chatterFileBrowsePanel .autoUlHeightWithContentMyFileFilter {
     height: 164px;
}

.chatterFileBrowsePanel .autoUlHeightWithoutContent {
     height: 350px;
}

.chatterFileBrowsePanel .autoUlHeightWithoutContentMyFileFilter {
     height: 300px;
}

.chatterFileBrowsePanel .autoUl .selectedSubLinkItem {
    background-position: 2px -64px;
}

.chatterFileBrowsePanel .moreItemLink {
    margin-left: 20px;
    margin-bottom: 10px;
    color:#015BA7;
    font-size:0.92em;
    width: 20px;
    text-decoration: none;
}


.fileListLoadingDiv {
    width: 100%;
    height: 100%;
}

.fileListLoadingDiv .waitingHolder {
    padding-top: 50px;
    top: 84.8px;
    width: 74px;
}

.chatterFileListView {
    min-height: 150px;
}

.chatterFileListView .x-grid-empty {
    font-size: 1em;
    color: #222;
}

.chatterFileListView .listViewportWrapper .listViewport .listBody {
    background-color: #ffffff;
}

.chatterFileListView .listViewport .bottomNav {
    padding: 5px 5px 8px;
}

/****************************1**********************/
/* Files tab page misc                            */
/**************************************************/
.chatterFilesTabPageUploadPanel .uploadFileMsgPanel {
    margin-top: 10px;
    margin-bottom: 15px;
    margin-right: 0;
    margin-left: 50px;
}

.chatterFilesTabPageUploadPanel .uploadFileMsgIcon {
    background-position: 0 -308px;
    float: left;
    width: 16px;
    height: 16px;
}

.chatterFilesTabPageUploadPanel .uploadFileMsg {
    margin-left: 18px;
    width: 90%;
}

.FileDetailPage  .waitingSearchDiv {
	z-index: 5000;
}

.FileDetailPage  .blueButton {
    background: #e8e8e9 url('/img/alohaSkin/btn_sprite.png') repeat-x right -180px;
}

.FileDetailPage .blueButton:active {
    background: url('/img/alohaSkin/btn_sprite.png') repeat-x right -270px;
}

.FileDetailPage a.headerSearchOptionsLink,
 .FileDetailPage a.headerSearchOptionsLink:hover {
    color: #FFFFFF;
}

.chatterFilesTabPageUploadPanel .uploadNewVersionMsg {
    background-position: 0 -200px;
    padding-left: 23px;
    width: 90%;
    height: 22px;
}

.chatterFilesTabPageUploadPanel .uploadButtonBar {
    text-align: center;
}

.chatterFilesTabPage .errorMsg {
    text-align: center;
    font-weight: bold;
}

/**************************************************/
/* Files detail page                              */
/**************************************************/
.threecolumn .headerContent {
    white-space:nowrap;
}

.chatterFileDetailFollowUnfollowLinks {
    padding-bottom: 4px;
}

.FileDetailPage .rightContent {
    overflow: visible;
}

.FileDetailPage .saveButtonBar{
    text-align: center;
}

.FileDetailPage .threecolumn .headerContent .headerRightContent {
    padding-right: 0;
}

.FileDetailPage h3 {
	color: #333435;
}

/**************************************************/
/* Styles for the Chatter Files DPV Preview Panel */
/**************************************************/
.chatterFileViewerPanel {
    border:1px solid #D4DADC;
    width: 538px;
    height: 338px;
}

.chatterFileViewerPreviewPanel {
    background-color: #F7F8F8;
    height: 100%;
    width: 100%;
    position: relative;
}

.chatterFileViewerPreviewContent {
    position: absolute;
    top:50%;
    left:50%;
}

.chatterFileVeiwerProcessingContent {
    height: 35px;
    margin-top: -35px;
    width: 81%;
    margin-left: -40%;
}

.chatterFileViewerNopreviewContent {
    height: 1.3em;
    margin-top: -1.3em;
    width: 100%;
    margin-left: -50%;
    text-align:center;
}

.chatterFileViewerPreviewContent .uploadProgress {
    background: url(/img/loading32.gif) no-repeat 0 0;
    float: left;
    width: 32px;
    height: 32px;
}

.chatterFileViewerPreviewContent .panelLabel {
    margin-left: 42px;
}

.chatterFileViewerPreviewContent .title {
    font-weight: bold;
    font-size: 1.3em;
}

.chatterFileViewerNopreviewContent a {
    text-decoration: none;
    color: #015BA7;
    padding-left: 5px;
}

.chatterFileViewerNopreviewContent a:hover {
    text-decoration: underline;
}

/**************************************************/
/* Styles for the Chatter Files DPV widgets/panel */
/**************************************************/
.thumbnailPanel .thumbnailIcon,
.thumbnailPanel .sharingStatusIcon {
    float: left;
    position: relative;
}

.thumbnailPanel .sharingStatusIcon img,
.sharedWithStatusBadge .sharingStatusIcon img {
    width: 16px;
    height: 16px;
}

.thumbnailPanel .sharingStatusIcon .orgItemIcon,
.sharedWithStatusBadge .sharingStatusIcon .orgItemIcon {
    background-position: 0 -92px;
}

.thumbnailPanel .sharingStatusIcon .lockItemIcon,
.sharedWithStatusBadge .sharingStatusIcon .lockItemIcon {
    background-position: 0  -308px;
}

.thumbnailPanel .sharingStatusIcon .sharedItemIcon,
.sharedWithStatusBadge .sharingStatusIcon .sharedItemIcon {
    background-position: 0  -236px;
}

.thumbnailPanel .thumbnailLabel {
    margin-left: 22px;
}

.sharedWithStatusBadge .thumbnailLabel {
    color: #222222;
    vertical-align: 25%;
}

.thumbnailPanel .itemList ul {
    list-style-type: none;
    margin: 0;
    padding-left: 0;
}

.thumbnailPanel .itemList li {
    height: 20px;
    margin-left: 0;
}

.versionListOverlayPanel {
    border: 1px solid transparent;
    margin-bottom: 10px;
}

.sharedWithListOverlayPanel .sharedWithListContainer {
    margin-top: 10px;
    border: 1px solid #d4dadc;
    height:300px;
}

.sharedWithListOverlayPanel .sharedWithButtonBar {
    margin-top: 15px;
    text-align: center;
}

.sharedWithListOverlayPanel .sharedWithStatusText {
    color: #000000;
}

.versionListOverlayPanel .chatterListOverlay .overlayList {
    border-left: 1px solid #DBDBDB;
    border-right: 1px solid #DBDBDB;
}

.chatterListOverlay .overlayListHeader .firstVersionColumn,
.chatterListOverlay .overlayListTable .firstVersionColumn {
    width: 50px;
}

.chatterListOverlay .overlayListHeader .secondVersionColumn {
    width: 296px;
}

.chatterListOverlay .overlayListTable .secondVersionColumn {
    width: 293px;
}

.chatterListOverlay .overlayListTable .secondVersionColumnPanel {
    max-width: 293px;
}

.chatterListOverlay .overlayListHeader .thirdVersionColumn{
    width: 100px;
}

.chatterListOverlay .overlayListTable .thirdVersionColumn {
    width: 80px;
}

.chatterListOverlay .overlayListHeader .secondVersionColumn,
.chatterListOverlay .overlayListHeader .thirdVersionColumn {
    border-left: 1px solid #DBDBDB;
}

.versionOverlayList .versionReasonForChange,
.versionOverlayList .updatedByLabel {
    font-size: 1em;
	color: #7d7d84;
}

.versionOverlayList .versionReasonForChange {
    margin: 4px 0;
}

.chatterListOverlay .overlayListEntity img {
    display: block;
    overflow: hidden;
}

.chatterListOverlay .inaccessibleMessageSpan {
    font-weight: bold;
    font-style: italic;
}

.sharedWithSummaryList .thumbnailIcon img.followerIcon,
.sharedWithSummaryList .thumbnailIcon img.entityIcon,
.versionOverlayList .thumbnailIcon img {
    width: 16px;
    height: 16px;
}

.sharedWithSummaryList .entityLink {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sharedWithSummaryList .thumbnailLabel,
.versionOverlayList .thumbnailLabel {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 17px;
}

.sharedWithSummaryList .inaccessibleLink {
    font-style: italic;
}

.versionOverlayList .thumbnailLabel,
.versionOverlayList .updatedByLabel {
    margin-right: 5px;
    margin-top: 2px;
}

.versionOverlayList .thumbnailLabel {
    font-size: 1em;
}

.versionOverlayList .updatedByLabel {
    float: left;
}

.sharedWithStatusBadge {
    vertical-align: -20%;
    padding-left: 3px;
    white-space: nowrap;
}

.overlayList a:hover .deleteIconClass {
    background: transparent url(/img/feeds/follow_sprite.png) no-repeat scroll 0 -75px;
}

/**************************************************/
/* End of the Chatter Files DPV Styles            */
/**************************************************/

/**************************************************/
/* Two Column Layout for file browse panel and    */
/* listview in select from salesforce overlay     */
/**************************************************/
.FindLinkedFilesPage .leftContent {
    float: left;
    width: 200px;
}

.FindLinkedFilesPage .rightContent {
    margin-left: 200px;
    width: 714px;
}

/*******************************************************/
/* Misc. styles                                        */
/*******************************************************/
.headerContent .fileTitle {
    white-space: normal;
    word-wrap: break-word;
    width: 710px;
}

.headerContent td {
    vertical-align: top;
}

.headerContent .fileTitleNarrow {
    white-space: normal;
    word-wrap: break-word;
    width: 600px;
    margin-right: 6px;
}

.headerContent .fileTitleText {
    font-size: 1.5em;
    color: #222;
    font-weight: normal;
    margin-right: 4px;
}

.fileTailNode {
    display: inline;
    vertical-align: middle;
    margin-left: 6px;
}

.fileTailNode .fileNameLabel {
    font-size: 1.35em;
    padding-right: 3px;
}

.fileTailNode .sharingBadgeLabel {
    margin-left: 3px;
}

.fileTailNode .sharingStatusIcon {
    position: relative;
    top: 3px;
}

.fileTailNode .sharedWithStatusBadge {
    vertical-align: middle;
}

.chatterFileDetailLeftPanel .userInfoPanel {
    padding-top: 10px;
    padding-left: 3px;
}

.chatterFileDetailLeftPanel .userThumbnail {
    float: left;
    border: 1px solid #D4DADC;
}

.chatterFileDetailLeftPanel .userNameLastModifiedAtPanel {
    margin-left: 38px;
    height: 35px;
}


.chatterFileDetailLeftPanel .descriptionLabel,
.chatterFileDetailLeftPanel .descriptionValue {
    font-size: 0.88em;
}

.chatterFileDetailLeftPanel .allVersionsLink {
    font-size: 1em;
    margin-left: 3px;
}

.chatterFileDetailLeftPanel .userNameLabel {
    text-decoration: none;
    color: #4a4a56;
    font-size: 0.92em; /* 11px */
}

.chatterFileDetailLeftPanel .userNameValue {
    text-decoration: none;
    color: #015ba7;
    font-size: 1.0em;
    white-space: nowrap;
}

.chatterFileDetailLeftPanel .userNameValueSpan {
    max-width: 145px;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
}

.chatterFileDetailLeftPanel .lastModifiedAt {
    text-decoration: none;
    color: #7d7d84;
    font-size: 0.92em; /* 11px */
}

.chatterFileDetailLeftPanel .descriptionLabel,
.chatterFileDetailLeftPanel .numberVersionLabel {
    font-size: 1.0em; /* 12px */
    color: #333435;
    padding-left: 3px;
    font-weight: bold;
}

.chatterFileDetailLeftPanel .descriptionValue {
    margin-top: 5px;
    padding-left: 3px;
    width: 185px;
    overflow-x: hidden;
    word-wrap: break-word;
}

.chatterFileDetailLeftPanel .vfButtonBar {
    width: 190px;
}

.FileDetailPage .lowerMainContent {
    background: none;
    width: 770px;
}

.FileDetailPage .centerContent {
    margin-left: 0;
    width: 542px;
}

.chatterFileDetailActionListPanel .editItemIcon {
    background-position: 0 -146px;
}

.chatterFileDetailActionListPanel .deleteItemIcon {
    background-position: 0 -344px;
}

.chatterFileDetailActionListPanel .orgItemIcon {
    background-position: 0 -92px;
}

.chatterFileDetailActionListPanel .groupItemIcon {
    background-position: 0 -110px;
}

.chatterFileDetailActionListPanel .recordItemIcon {
    background-position: 0 -128px;
}

.chatterFileDetailActionListPanel .openItemIcon {
    background-position: 0  -2px;
}

.chatterFileDetailLeftPanel .editDescIcon {
    background: transparent url(/img/chatterfiles/chatterfiles16_sprite.png) no-repeat;
    background-position: 0 -146px;
    width: 16px;
    height: 16px;

}

#chatterFilesEditPanel .textAreaFullSize {
    width: 420px;
}

#chatterFilesEditPanel .textAreaNormalSize {
    width: 292px;
}

.FileDetailPage div.progressOverlay {
    opacity: 0.45;
    background: #000000;
}

.FileDetailPage div.progressMessage {
    padding: 8px;
    background: #ffffff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.FileDetailPage .docViewerOverlay {
    z-index: 5000;
}

.hidden {
    display: none;
}

.FileDetailPage .fileImgRendition {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.FileDetailPage .filePreviewHeading {
    position: absolute;
    left: -500px;
}

.chatterPage .centerContent {
    -webkit-border-top-right-radius: 0px;
    -webkit-border-top-left-radius: 0px;
    margin-right : 0;
    padding-left : 0;
    background: none;
}

.FileDetailPage .privateFileLabel {
    overflow: hidden;
    display: inline-block;
}

.chatterFileListView .listViewport .DESC .x-grid3-sort-icon, body .pbBody .sortDesc,
.chatterFileListView .listViewport .ASC .x-grid3-sort-icon, body .pbBody .sortAsc {
    background:none;
}
.chatterFileListView .listViewport .DESC,
.chatterFileListView .listViewport .ASC  {
    background-color:transparent;
}

.userFilesPageTitleIcon,
.groupFilesPageTitleIcon {
	float: left;
	margin-right: 3px;
}
/* W-888482: Make filePreview & sharedWith overlays be scrollable along with entire page
   in order to make sure the controls on the bottom of overlays can be accessed
   in lower resolution */
#docViewerOverlay,
#chatterFileVersionListDialog {
    position: absolute;
}

.helpBubbleContainer    a {
	text-decoration: underline;
}

.FileTabPage .overlayDialog {
	z-index : 10001;
}




.chatterFileListView .fileTypeIcon img.filePrivateIcon {
	top: -5px;
}

.FileDetailPage .threecolumn .headerContent .headerRightContent {
    margin-right: 1px;
}s

.sharedWithPermissionDropdown .tinyDownArrowIcon {
    height: 12px;
    margin-left: -5px;
}

.FindLinkedFilesPage .rightContent {
    margin-left: 0px;
    float: right;
    width: 696px;
}

.chatterFileBrowsePanel .autoDivWithMyFilesFilter {
    height: 370px;
}


.chatterFileListBlock .chatterFollowUnfollowAction {
	margin-top: -13px;
}

.fileTailNode {
    display: inline-block;
    vertical-align: top;
    margin-left: 6px;
    word-wrap: break-word;
    width: 650px;    
}



